package org.zhq.frames;

import org.zhq.core.Frame;
import org.zhq.core.IoArgs;

/**
 * 心跳发送帧
 * @author zhengquan
 * @date 2019/2/9
 */
public class HeartbeatSendFrame extends AbsSendFrame {

    public static final byte[] HEARTBEAT_DATA = new byte[]{0,0,Frame.TYPE_COMMAND_HEARTBEAT,0,0,0};

    public HeartbeatSendFrame() {
        super(HEARTBEAT_DATA);
    }

    @Override
    protected int consumeBody(IoArgs args){
        return 0;
    }

    @Override
    public Frame nextFrame() {
        return null;
    }
}